package com.ywl.designpattern.uml.dependence;

/**
 * UML-依赖关系
 * 依赖关系用虚线实心箭头表示
 * 关联是特殊的依赖关系
 * 关联关系用实线实心箭头表示
 */
public class PersonServiceBean {
    private PersonDao personDao;

    public void save(Person person) {
    }

    public IDCard getIDCard(Integer personid) {
        return null;
    }

    public void modify() {
        Department department = new Department();
    }

}

class Department {

}
class IDCard {

}

class Person {

}

class PersonDao {

}




